﻿using Ekton_Manage_DomainCore.Aggregate;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace Ekton_Manage_DomainCore
{
    public class ApplicationDbContent : DbContext
    {
        public ApplicationDbContent(DbContextOptions<ApplicationDbContent> options) : base(options)
        {
            //var p = addition_msgs.FromSqlRow("");
        }

        public virtual DbSet<addition_msg> addition_msgs { get; set; }
        public virtual DbSet<brand_msg> brand_msgs { get; set; }
        public virtual DbSet<company> companies { get; set; }
        public virtual DbSet<design> designs { get; set; }
        public virtual DbSet<material> materials { get; set; }
        public virtual DbSet<msg_push> msg_pushes { get; set; }
        public virtual DbSet<order_list> order_lists { get; set; }
        public virtual DbSet<particulars_order> particulars_orders { get; set; }
        public virtual DbSet<platform_msg> platform_msgs { get; set; }
        public virtual DbSet<product> products { get; set; }
        public virtual DbSet<product_type> product_types { get; set; }
        public virtual DbSet<series_msg> series_msgs { get; set; }
        public virtual DbSet<space_configuration> space_configurations { get; set; }
        public virtual DbSet<sys_log> sys_logs { get; set; }
        public virtual DbSet<sys_msg> sys_msgs { get; set; }
        public virtual DbSet<sys_permission> sys_permissions { get; set; }
        public virtual DbSet<sys_role> sys_roles { get; set; }
        public virtual DbSet<sys_role_permission> sys_role_permissions { get; set; }
        public virtual DbSet<sys_user> sys_users { get; set; }
        public virtual DbSet<system_log> system_logs { get; set; }
        public virtual DbSet<tooth_bit> tooth_bits { get; set; }
        public virtual DbSet<user_list> user_lists { get; set; }
        public virtual DbSet<user_order> user_orders { get; set; }
        public virtual DbSet<product_view> product_view { get; set; }
        public virtual DbSet<msg_user> msg_users { get; set; }

        public virtual DbSet<user_orderView> user_orderView { get; set; }
        public virtual DbSet<user_roleView> user_roleView { get; set; }
        public virtual DbSet<AddProductList> AddProductList { get; set; }

        public virtual DbSet<verify_code> verify_code { get; set; }
        public virtual DbSet<company_email> company_email { get; set; }
        public virtual DbSet<user_msg> user_msg { get; set; }
        public virtual DbSet<copyright> copyright { get; set; }
        public virtual DbSet<menu_btn> menu_btn { get; set; }
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }
    }
}
